﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace PowerBooking.RSE.Poco
{
    /// <summary>
    /// 筛选条件表映射
    /// </summary>
    [Table("PowerBooking_RSE_Filter")]
    public class FilterPoco
    {
        /// <summary>
        /// 自增主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long FilterID { get; set; }

        /// <summary>
        /// 城市ID
        /// </summary>
        public long CityID { get; set; }

        /// <summary>
        /// 筛选名称
        /// </summary>
        [Required]
        [StringLength(32)]
        public string Name { get; set; }

        /// <summary>
        /// Url
        /// </summary>
        [Required]
        [StringLength(128)]
        public string Url { get; set; }
    }
}
